package cn.stylefeng.guns.modular.school.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 学生监护人信息
 * </p>
 *
 * @author 
 * @since 2019-11-27
 */
@TableName("xx_student_guardian")
public class StudentGuardian implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学生id
     */
    @TableField("student_id")
    private Integer studentId;

    /**
     * 监护人姓名
     */
    @TableField("name")
    private String name;

    /**
     * 监护人电话
     */
    @TableField("tel")
    private String tel;

    /**
     * 监护人关系
     */
    @TableField("releation")
    private String releation;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getReleation() {
        return releation;
    }

    public void setReleation(String releation) {
        this.releation = releation;
    }

    @Override
    public String toString() {
        return "StudentGuardian{" +
        "id=" + id +
        ", studentId=" + studentId +
        ", name=" + name +
        ", tel=" + tel +
        ", releation=" + releation +
        "}";
    }
}
